package com.liang.myrule;


import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author:liangli
 * @Date:2020/11/13 17:36
 */
@Configuration
public class LiangRule {

    @Bean
    public IRule myRule(){
//        return new RandomRule();
        return new LiangRandomRule();

    }
}
